| Clone | Creates a new object that is a deep copy of the current WordDocument object. |
| Equals | (Inherited from Object) |
| Finalize | (Inherited from Object) |
| GetBytes |
Converts the document to an array of bytes.
(Overrides OfficeDocumentGetBytes) |
| GetContentElements | Returns all content elements. |
| GetFields | Returns all fields from the document. |
| GetHashCode | (Inherited from Object) |
| GetParagraphs | Returns all paragraphs from the document. |
| GetPictures | Returns all pictures from the document. |
| GetRuns | Returns all runs from the document. |
| GetSections | Returns all sections from the document. |
| GetStream |
Returns the document as a stream to read from.
(Overrides OfficeDocumentGetStream) |
| GetTables | Returns all tables from the document. |
| GetTexts | Returns all texts from the document. |
| GetType | (Inherited from Object) |
| LoadFromDoc(Stream) | Loads a DOC document from a stream. See LoadFromDoc(String). |
| LoadFromDoc(String) | Loads a DOC (Microsoft Word 97-2003 binary format) document and reconstructs its content (text, character/paragraph formatting, styles, tables, fields and embedded PNG/JPEG images) into this document. |
| LoadFromHtml | |
| LoadFromHtmlString | |
| LoadFromPdf(Stream) | Loads a PDF document from a stream. See LoadFromPdf(String). |
| LoadFromPdf(String) | Loads a PDF document and reconstructs its content (text, formatting, images and inferred tables) into this document. PDF is a final-form format, so the reconstruction is heuristic and lossy. Encrypted PDF files are not supported. |
| LoadFromRtf(Stream) | Loads an RTF document from a stream. See LoadFromRtf(String). |
| LoadFromRtf(String) | Loads an RTF (Rich Text Format) document and reconstructs its content (text, character/paragraph formatting, tables and embedded PNG/JPEG images) into this document. |
| LoadFromRtfString | Loads an RTF document from an RTF string. |
| MemberwiseClone | (Inherited from Object) |
| Open(Stream) |
Opens the document from a stream.
(Overrides OfficeDocumentOpen(Stream)) |
| Open(String) |
Opens the document from a file.
(Overrides OfficeDocumentOpen(String)) |
| Replace(IListString, IListString) | Replaces all occurrences of a specified oldText with newText. |
| Replace(String, Run) | Replaces all occurrences of the specified text with run object. |
| Replace(String, IListRun) | Replaces all occurrences of the specified text with a collection of run objects. |
| Replace(String, String) | Replaces all occurrences of a specified oldText with newText. |
| Replace(IListString, IListString, ReplaceIn) | Replaces all occurrences of a specified oldText with newText. |
| Replace(String, Run, ReplaceIn) | Replaces all occurrences of the specified text with run object. |
| Replace(String, IListRun, ReplaceIn) | Replaces all occurrences of the specified text with a collection of run objects. |
| Replace(String, String, ReplaceIn) | Replaces all occurrences of a specified oldText with newText. |
| Save(Stream) |
Saves the document to the specified stream.
(Overrides OfficeDocumentSave(Stream)) |
| Save(String) |
Saves the document to the specified file.
(Overrides OfficeDocumentSave(String)) |
| Save(String, Boolean) |
Saves the document to the specified file.
(Overrides OfficeDocumentSave(String, Boolean)) |
| SaveAsHtml | |
| SaveAsMarkdown(Stream) | Saves the document in Markdown format. |
| SaveAsMarkdown(String) | Saves the document in Markdown format. |
| SaveAsMarkdown(String, Boolean) | Saves the document in Markdown format. |
| SaveAsPdf(Stream) | Saves the document in PDF format. |
| SaveAsPdf(String) | Saves the document in PDF format. |
| SaveAsPdf(String, Boolean) | Saves the document in PDF format. |
| SaveAsRtf | |
| ToMarkdown | Returns the document content as a Markdown string. |
| ToString |
Returns a string that represents the current WordDocument.
(Overrides ObjectToString) |
| ToText | Returns the document body text as plain text. |